<?php 
namespace Admin\Controller;
use Think\Controller;
class CommonController extends Controller{
	public function _initialize(){
		
		if(empty($_SESSION['name'])){
			$this->redirect('Login/index');
			//$this->redirect('Login/index', array('cate_id' => 2), 5, '页面跳转中...');
		}
	}
}

?>